#ifndef CONFIG_H
#define CONFIG_H
//游戏框
#define GAME_WIDTH 864 //宽度
#define GAME_HEIGHT 412 //高度
#define GAME_TITLE "Flybird v1.0"
#define GAME_RES_PATH "./bird.rcc"
#define GAME_ICON  ":/res/favicon.ico"
//背景
#define STARTMAP_PATH ":/res/message.png"
#define MAP_PATH ":/res/background day.png"
#define GAME_RATE 10 //帧率10
// 地基
#define BASE_PATH ":/res/base.png"
#define BASE_SPEED 1
#define BASE_Y 370
//小鸟
#define BIRD_UP_PATH ":/res/bird-down.png"
#define BIRD_MID_PATH ":/res/bird-mid.png"
#define BIRD_DOWN_PATH ":/res/bird-up.png"
#define BIRD_DOWN_SPEED 6
#define BIRD_UP_SPEED 40
#define BIRD_FLAP2_SOUND ":/res/wing.wav"
#define BIRD_DEAD_SPEED 9
#define BIRD_DEAD_PATH ":/res/bird-dead1.png"
#define BIRD_SCORE_SOUND ":/res/point.wav"
//管道
#define TUBE_SPEED 1
#define TUBE_PATH ":/res/pipe-down.png"
#define TUBE_PATH2 ":/res/pipe-up.png"
#define TUBE_INTERVAL 220
#define TUBE_NUM 99
//死亡
#define GAMEOVER_PATH ":/res/gameover.png"
#define CRASH_PATH ":/res/hit.wav"
//分数
#define S_0 ":/res/0.png"
#define S_1 ":/res/1.png"
#define S_2 ":/res/2.png"
#define S_3 ":/res/3.png"
#define S_4 ":/res/4.png"
#define S_5 ":/res/5.png"
#define S_6 ":/res/6.png"
#define S_7 ":/res/7.png"
#define S_8 ":/res/8.png"
#define S_9 ":/res/9.png"

#endif // CONFIG_H
